home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / samples / midpnt / makefile < prev    next >
Encoding:
Makefile  |  1997-01-26  |  2.6 KB  |  95 lines

  1. #* MidpNT.mak
  2. #*
  3. #* Make script for MIDAS Module Player for Windows NT
  4. #*
  5. #* $Id: makefile 1.3 1997/01/14 17:41:19 pekangas Exp $
  6. #*
  7. #* Copyright 1996 Petteri Kangaslampi
  8.  
  9. MIDASDIR = ..\..
  10. MIDASINCDIR = $(MIDASDIR)\include
  11. MIDASLIBDIR = $(MIDASDIR)\lib
  12.  
  13. !ifdef VISUALC
  14.  
  15. CC = cl
  16. CPP = cl
  17. CCOPTS =  -c -MT -Zi -Yd -W3 -WX -YX -Zp1 -nologo -O2 -G5 -D__VC32__ -DDEBUG \
  18.         -DNOTIMER -I$(MIDASINCDIR)
  19. CPPOPTS = $(CCOPTS)
  20. LIBNAME = midas06_visualc.lib
  21. LINKCMD = link /DEBUG /DEBUGTYPE:CV @MidpNT.lk $(MIDASLIBDIR)\$(LIBNAME)
  22. RC = rc
  23. RCOPTS =
  24. RCMAKERES = /r /fo MidpNT.res temp.rc
  25.  
  26.  
  27. !else
  28.  
  29. CC = wcc386
  30. CPP = wpp386
  31. CCOPTS = -fh -fhq -w3 -d2 -bt=nt -mf -d__WC32__ -dDEBUG -dNOTIMER -i$(MIDASINCDIR)
  32. CPPOPTS = $(CCOPTS)
  33. RC = wrc
  34. RCOPTS = -bt=nt
  35. RCMAKERES = /r temp.rc /fo=MidpNT.res
  36. LIBNAME = midas06_watcom.lib
  37. LINKCMD = wlink libpath $(MIDASLIBDIR) debug all library $(LIBNAME) @midpnt.wlk
  38.  
  39. !endif
  40.  
  41.  
  42. MidpNT.exe :    MidpNT.obj MidpMIDAS.obj MidpList.obj MidpView.obj \
  43.                 SongInfo.obj ViewList.obj InstList.obj Archivers.obj \
  44.                 Registry.obj \
  45.                 $(MIDASLIBDIR)\$(LIBNAME) \
  46.                 MidpNT.res
  47.         $(LINKCMD)
  48. !ifndef VISUALC
  49.         $(RC) $(RCOPTS) MidpNT.res MidpNT.exe
  50. !endif
  51.  
  52. MidpNT.res :    MidpNT.rc
  53.         del temp.rc
  54.         copy incwin.rc+MidpNT.rc temp.rc
  55.         $(RC) $(RCOPTS) $(RCMAKERES)
  56.  
  57. MidpNT.obj :    MidpNT.cpp midpres.h MidpNT.h MidpList.h MidpView.h \
  58.                 SongInfo.h MidpModeless.h ViewList.h InstList.h \
  59.                 Archivers.h Registry.h
  60.         $(CPP) MidpNT.cpp $(CPPOPTS)
  61.  
  62. MidpMIDAS.obj : MidpMIDAS.cpp MidpNT.h
  63.         $(CPP) MidpMIDAS.cpp $(CPPOPTS)
  64.  
  65. MidpList.obj :  MidpList.cpp MidpList.h
  66.         $(CPP) MidpList.cpp $(CPPOPTS)
  67.  
  68. MidpView.obj :  MidpView.cpp MidpNT.h MidpView.h
  69.         $(CPP) MidpView.cpp $(CPPOPTS)
  70.  
  71. SongInfo.obj :  SongInfo.cpp SongInfo.h MidpView.h MidpNT.h MidpRes.h \
  72.                 MidpModeless.h ViewList.h
  73.         $(CPP) SongInfo.cpp $(CPPOPTS)
  74.  
  75. ViewList.obj :  ViewList.cpp ViewList.h MidpView.h MidpList.h
  76.         $(CPP) ViewList.cpp $(CPPOPTS)
  77.  
  78. InstList.obj :  InstList.cpp InstList.h MidpView.h MidpNT.h MidpRes.h \
  79.                 MidpModeless.h ViewList.h
  80.         $(CPP) InstList.cpp $(CPPOPTS)
  81.  
  82. Archivers.obj : Archivers.cpp Archivers.h MidpNT.h
  83.         $(CPP) Archivers.cpp $(CPPOPTS)
  84.  
  85. Registry.obj :  Registry.cpp Registry.h MidpNT.h
  86.         $(CPP) Registry.cpp $(CPPOPTS)
  87.  
  88.  
  89. #* $Log: makefile $
  90. #* Revision 1.3  1997/01/14 17:41:19  pekangas
  91. #* ?
  92. #*
  93. # Revision 1.2  1996/08/02  20:14:53  pekangas
  94. # Added Visual C support
  95. #